package org.iartisan.maven.plugin.mavenconfig;


import org.apache.maven.plugins.annotations.Parameter;

/**
 * <p>
 * 数据源配置
 *
 * @author King
 * @since 2017/3/8
 */
public class DataSourceConfig {

    @Parameter(required = true)
    private String driverName;//数据库驱动

    @Parameter
    private String user;

    @Parameter
    private String password;

    @Parameter(required = true)
    private String url;

    @Parameter(defaultValue = "mysql")
    private String dbType;//mysql oracle

    public String getDriverName() {
        return driverName;
    }

    public void setDriverName(String driverName) {
        this.driverName = driverName;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getDbType() {
        return dbType;
    }

    public void setDbType(String dbType) {
        this.dbType = dbType;
    }
}
